﻿using AnlianCommon.Common.DTO;
using MediatR;

namespace AnlianCommon.API.Commands.Departments
{
    public class DepartmentCreateCommand : IRequest<Result>
    {
        //部门上级
        public string? DepartmentSuperior { get; set; }
        //部门名称
        public string? DepartmentName { get; set; }
        //部门停用
        public string? DepartmentDeactivatebool { get; set; }
        //部门类型(外键)
        public string? DepartmentTypeId { get; set; }
        //部门序号(外键)
        public string? DepartmentOrdinal { get; set; }
        //部门区域(外键)
        public int? CountyId { get; set; }
        //直接上级
        public string? DirectSuperior { get; set; }
        //部门主管
        public string? DepartmentSupervisor { get; set; }
        //分管负责人
        public string? InChargeHead { get; set; }
        //财务负责人
        public string? Treasurer { get; set; }
        //可查看人员
        public string? ViewablePersonnel { get; set; }
        //职能体系(外键)
        public string? FunctionalSystemId { get; set; }
    }
}
